package xiaohuo.fancyring.data

import taboolib.library.configuration.ConfigurationSection

class PositionData(config: ConfigurationSection) {
    val x = config.getDouble("X")
    val y = config.getDouble("Y")
    val z = config.getDouble("Z")
    val xIncrease = config.getDouble("X-Increase")
    val yIncrease = config.getDouble("Y-Increase")
    val zIncrease = config.getDouble("Z-Increase")
    val rotateX = config.getDouble("Rotate-X").toFloat()
    val rotateY = config.getDouble("Rotate-Y").toFloat()
    val rotateZ = config.getDouble("Rotate-Z").toFloat()
    val front = config.getDouble("Front")
    val frontIncrease = config.getDouble("Front-Increase")
    val right = config.getDouble("Right")
    val rightIncrease = config.getDouble("Right-Increase")
}